if [ "${1}" == "" ]; then
	echo "this script should be config first"
	exit
fi
all_file_dir="/usr/lib/python2.6/site-packages"
rm_file_dir="/work/MI_dev/src/magic.installer/_site-packages"

for var1 in `ls $all_file_dir`
do
	for var2 in `ls $rm_file_dir`
	do
		if [ `basename $var1` = `basename $var2` ]; then
			echo del $rm_file_dir/$var1
			rm -r $rm_file_dir/$var1
		fi
	done
done
